package com.wuzheng.wisgo.sanitation.cloud.model.plan.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author：hoipang
 * @date：Created in 2019-12-23
 * @description：作业计划详情车辆参数
 * @modified By：
 * @version: 1.0
 */
@ApiModel(value = "JobPlanDetailVehicleParam", description = "作业计划详情车辆参数")
public class JobPlanDetailVehicleParam {
    /**
     * 作业计划类型
     */
    @ApiModelProperty(value = "作业计划类型")
    @NotBlank(message = "作业计划类型不能为空")
    private String jobType;
    /**
     * 作业线路Ids
     */
    @ApiModelProperty(value = "作业线路Ids")
    @NotBlank(message = "作业线路Ids不能为空")
    private List<String> roadIds;
    /**
     * 作业班次时间段
     */
    @ApiModelProperty(value = "作业班次时间段")
    @Valid
    private List<TimeSlotParam> timeSlotParams;

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public List<String> getRoadIds() {
        return roadIds;
    }

    public void setRoadIds(List<String> roadIds) {
        this.roadIds = roadIds;
    }

    public List<TimeSlotParam> getTimeSlotParams() {
        return timeSlotParams;
    }

    public void setTimeSlotParams(List<TimeSlotParam> timeSlotParams) {
        this.timeSlotParams = timeSlotParams;
    }
}
